<%@ page language="java" import="java.util.*" import="java.sql.*" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<link rel="stylesheet" href="css/bootstrap.css">
<%
    Object condition = session.getAttribute("condition");
    Object username = session.getAttribute("username");

    if(!condition.equals("admin"))
    {
        response.sendRedirect("index.jsp");
    }
%>
<header style="width: 100%; display: flex; align-items: center; justify-content: center; ">
    <ul class="nav" style="width: 80%; border-bottom: 1px solid #0056b3; position: relative">
        <li class="nav-item">
            <a class="nav-link active" href="admin.jsp">首页</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="ad_user.jsp">用户管理</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="ad_xitong.jsp">系统管理</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="ad_dindan.jsp">订单管理</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="ad_qg_dindan.jsp">商品订单管理</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="ad_my.jsp">个人中心</a>
        </li>
        <li class="nav-item" style=" right: 0;position: absolute;">
            <a class="nav-link" href="index.jsp">退出</a>
        </li>
    </ul>
</header>
<script src="js/jQuery.js"></script>
<script src="js/bootstrap.js"></script>

